## -*- coding: utf-8 -*-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
    <head>
        <title>${self.title()}</title>        
        ${self.head()}
    </head>
    <body>
        <%include file="/component/login.html"/>
        <div class="container">
            <div class="span-24 last">
                ${self.header()}
            </div>
            ${next.body()}
            <div class="span-24 last footerwrapper">
                ${self.footer()}
            </div>
        </div>
    </body>
    ${g_analytics()}
</html>


<%def name="title()">测试网</%def>

<%def name="head()">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="description" content="上班这点事,毕业生家园,职商提升,失业VS创业,八卦休闲,专区,转载,职场新闻,职业热点,最新,热点文章,排行榜" />
<meta name="keywords"  content="上班　工作　求职　职业　毕业　职场　职商　失业　创业　八卦　休闲" />
${h.stylesheet_link(h.url_for('/bp/screen.css'))}
<!--[if IE]>${h.stylesheet_link(h.url_for('/bp/ie.css'))}<![endif]-->
${h.stylesheet_link(h.url_for('/css/basic.css'))}
<!--[if lt IE 7]>${h.stylesheet_link(h.url_for('/css/basic_ie.css'))}<![endif]-->
${h.stylesheet_link(h.url_for('/css/signup.css'))}
${h.javascript_link(h.url_for('/js/jquery-1.3.2.min.js'))}
${h.javascript_link(h.url_for('/js/jquery.corners.min.js'))}
${h.javascript_link(h.url_for('/js/jquery.simplemodal-1.2.3.min.js'))}
${h.javascript_link(h.url_for('/js/jquery.delay.js'))}
${h.javascript_link(h.url_for('/js/app.js'))}
<script type="text/javascript">
    $(document).ready(function(){
        $('.rounded').corners();
        $('#header-login, #header-login2').click(login_form);
        $('#btnLogin').click(login);
    });

    function showResponse(data, textStatus) {
        if (data.flag == 1) {
            window.location = "${h.get_current_url()}";
        } else {
            var l = $('<label class="error">' + data.info + '</label>');
            l.appendTo($('#errorWrapper'));
            l.delay(3000, function() {
                l.remove();
            });
        }
    }
</script>
</%def>

<%def name="header()"></%def>

<%def name="footer()">
<div class="footerwrapper2">
    <div id="footer">
        <div style="height:30px"></div>
        <div id="site_nav">
            <ul>
                <li><a href="#">关于我们</a></li>
                <li><a href="/sitemap.xml">网站地图</a></li>
                <li><a href="mailto:test.com@gmail.com">联系我们</a></li>
                <li class="last"><a href="#">链接及合作</a></li>
            </ul>
        </div>
        <div id="copyright">声明：测试网文章版权属于作者，受法律保护，转载须注明出处；网友发言不代表本站立场。<br/>&copy; 2008-2009 test.com. 职驿网保留所有权限. [沪ICP备XXXXXX号]</div>
    </div>
</div>
</%def>

<%def name="g_analytics()">
<script type="text/javascript">
    var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
    document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
    try {
        var pageTracker = _gat._getTracker("UA-8259222-1");
        pageTracker._trackPageview();
    } catch(err) {}</script>
</%def>